implementing boolean function using 8x1 multiplexer